package com.proj.hot.activity;

import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TextView;

import com.nostra13.universalimageloader.core.ImageLoader;
import com.proj.hot.GlobalParams;
import com.proj.hot.R;
import com.proj.hot.utils.ImageLoaderConfigFactory;

/**
 * 客服中心
 */
public class CustomerServicesActivity extends BaseActivity {

    private ImageView logo;
    private TextView text;
    private TextView text1;
    private TextView tv1;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_customer_service);

        tv1 = (TextView)this.findViewById(R.id.tv1);


        logo = (ImageView)this.findViewById(R.id.user_logo);
        text = (TextView) this.findViewById(R.id.user_text);
        text1 = (TextView) this.findViewById(R.id.user_text1);

        if (GlobalParams.screenHeight == 1080){
            tv1.setTextSize(25);
        }
        tv1.setText("<  "+"客服中心");
        ImageLoader.getInstance().displayImage(GlobalParams.CsdWX,
                logo, ImageLoaderConfigFactory.getOptionsWithNopic());
        text.setText("用户体验QQ群："+GlobalParams.CsdQQ);
        text1.setText("客服电话:"+GlobalParams.CsdTel);

    }
}
